<template>
  <page-layout title="水雨情监测">
    <template #title>
      <plain-tabs v-model="tabName" :list="list" />
    </template>
    <!--{{ tabName }}-->
    <data-view :tab-name="tabName" />
  </page-layout>
</template>

<script>
import DataView from '@/views/reservoir/shuiYuQingJianCe/dataMonitoring/components/DataView'
export default {
  name: 'index',
  data() {
    return {
      tabName: '实时监测',
      list: ['实时监测', '历史数据']
    }
  },
  components: {
    'data-view': DataView
  }
}
</script>

<style scoped></style>
